Constraint Generation Tool for White-box Testing
نویسندگان
چکیده
Testing of database application is crucial for ensuring high software quality as undetected faults can result in unrecoverable data corruption. Conventionally database application testing is based upon whether or not the application can perform a set of predefined functions. While it is useful to achieve a basic degree of quality by considering the application to be a black box in the testing process white box testing is required for more thorough testing. However the semantics of the structural query language (SQL) statements embedded in database application are rarely considered in conventional white box testing techniques. In this paper we study the generation of constraints that respect the semantics of SQl statements embedded in a database application program. We have described a tool which generates a set of constraints. Database instance for program testing can be derived by solving the set of constraints using existing constraint solvers.
منابع مشابه
Validation of SDL specifications using EFSM-based test generation
0950-5849/$ see front matter 2009 Elsevier B.V. A doi:10.1016/j.infsof.2009.06.005 q This research was supported by the MKE (Minis Korea, under the ITRC (Information Technology Resea supervised by the IITA (Institute of Information Tech 2007-(C1090-0801-0032). * Corresponding author. Tel.: +1 972 883 6619; fax E-mail address: [email protected] (W.E. Wong) Existing methods for testing an SDL sp...
متن کاملINKA: Ten years after the first ideas
Ten years ago, we wrote an ICSSEA paper on the use of constraint (logic) programming to automatically generate white-box test data for imperative programs. This work opened the road to several research and development projects on this topic and led us to the design of INKA a software test data generator for C/C++. Ten years later, where are we? This paper proposes to review the advances we made...
متن کاملA Constraint-Based Framework for Test Case Generation in Method-Level Black-Box Unit Testing
Automatic test case execution in test-driven development provides an excellent return on investment. However, test cases in test-driven development are usually designed manually. Manual acquisition of test cases is laborious, time-consuming, and error-prone. Model-based testing is a technique to automatically generate test cases from software models. Model-based test-driven development provides...
متن کاملInteractive Testing with HOL-TestGen
HOL-TestGen is a test environment for specification-based unit testing built upon the proof assistant Isabelle/HOL. While there is considerable skepticism with regard to interactive theorem provers in testing communities, we argue that they are a natural choice for (automated) symbolic computations underlying systematic tests. This holds in particular for the development of non-trivial formal t...
متن کاملFShell: Systematic Test Case Generation for Dynamic Analysis and Measurement
Although the principal analogy between counterexample generation and white box testing has been repeatedly addressed, the usage patterns and performance requirements for software testing are quite different from formal verification. Our tool FSHELL provides a versatile testing environment for C programs which supports both interactive explorative use and a rich scripting language. More than a f...
متن کامل